package com.jsh.erp.datasource.entities;

import java.util.ArrayList;
import java.util.List;

public class OrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDdNumIsNull() {
            addCriterion("dd_num is null");
            return (Criteria) this;
        }

        public Criteria andDdNumIsNotNull() {
            addCriterion("dd_num is not null");
            return (Criteria) this;
        }

        public Criteria andDdNumEqualTo(String value) {
            addCriterion("dd_num =", value, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumNotEqualTo(String value) {
            addCriterion("dd_num <>", value, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumGreaterThan(String value) {
            addCriterion("dd_num >", value, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumGreaterThanOrEqualTo(String value) {
            addCriterion("dd_num >=", value, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumLessThan(String value) {
            addCriterion("dd_num <", value, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumLessThanOrEqualTo(String value) {
            addCriterion("dd_num <=", value, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumLike(String value) {
            addCriterion("dd_num like", value, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumNotLike(String value) {
            addCriterion("dd_num not like", value, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumIn(List<String> values) {
            addCriterion("dd_num in", values, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumNotIn(List<String> values) {
            addCriterion("dd_num not in", values, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumBetween(String value1, String value2) {
            addCriterion("dd_num between", value1, value2, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDdNumNotBetween(String value1, String value2) {
            addCriterion("dd_num not between", value1, value2, "ddNum");
            return (Criteria) this;
        }

        public Criteria andDbczIsNull() {
            addCriterion("dbcz is null");
            return (Criteria) this;
        }

        public Criteria andDbczIsNotNull() {
            addCriterion("dbcz is not null");
            return (Criteria) this;
        }

        public Criteria andDbczEqualTo(String value) {
            addCriterion("dbcz =", value, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczNotEqualTo(String value) {
            addCriterion("dbcz <>", value, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczGreaterThan(String value) {
            addCriterion("dbcz >", value, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczGreaterThanOrEqualTo(String value) {
            addCriterion("dbcz >=", value, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczLessThan(String value) {
            addCriterion("dbcz <", value, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczLessThanOrEqualTo(String value) {
            addCriterion("dbcz <=", value, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczLike(String value) {
            addCriterion("dbcz like", value, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczNotLike(String value) {
            addCriterion("dbcz not like", value, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczIn(List<String> values) {
            addCriterion("dbcz in", values, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczNotIn(List<String> values) {
            addCriterion("dbcz not in", values, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczBetween(String value1, String value2) {
            addCriterion("dbcz between", value1, value2, "dbcz");
            return (Criteria) this;
        }

        public Criteria andDbczNotBetween(String value1, String value2) {
            addCriterion("dbcz not between", value1, value2, "dbcz");
            return (Criteria) this;
        }

        public Criteria andIskzIsNull() {
            addCriterion("iskz is null");
            return (Criteria) this;
        }

        public Criteria andIskzIsNotNull() {
            addCriterion("iskz is not null");
            return (Criteria) this;
        }

        public Criteria andIskzEqualTo(String value) {
            addCriterion("iskz =", value, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzNotEqualTo(String value) {
            addCriterion("iskz <>", value, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzGreaterThan(String value) {
            addCriterion("iskz >", value, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzGreaterThanOrEqualTo(String value) {
            addCriterion("iskz >=", value, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzLessThan(String value) {
            addCriterion("iskz <", value, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzLessThanOrEqualTo(String value) {
            addCriterion("iskz <=", value, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzLike(String value) {
            addCriterion("iskz like", value, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzNotLike(String value) {
            addCriterion("iskz not like", value, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzIn(List<String> values) {
            addCriterion("iskz in", values, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzNotIn(List<String> values) {
            addCriterion("iskz not in", values, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzBetween(String value1, String value2) {
            addCriterion("iskz between", value1, value2, "iskz");
            return (Criteria) this;
        }

        public Criteria andIskzNotBetween(String value1, String value2) {
            addCriterion("iskz not between", value1, value2, "iskz");
            return (Criteria) this;
        }

        public Criteria andKhxxIsNull() {
            addCriterion("khxx is null");
            return (Criteria) this;
        }

        public Criteria andKhxxIsNotNull() {
            addCriterion("khxx is not null");
            return (Criteria) this;
        }

        public Criteria andKhxxEqualTo(String value) {
            addCriterion("khxx =", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxNotEqualTo(String value) {
            addCriterion("khxx <>", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxGreaterThan(String value) {
            addCriterion("khxx >", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxGreaterThanOrEqualTo(String value) {
            addCriterion("khxx >=", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxLessThan(String value) {
            addCriterion("khxx <", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxLessThanOrEqualTo(String value) {
            addCriterion("khxx <=", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxLike(String value) {
            addCriterion("khxx like", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxNotLike(String value) {
            addCriterion("khxx not like", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxIn(List<String> values) {
            addCriterion("khxx in", values, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxNotIn(List<String> values) {
            addCriterion("khxx not in", values, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxBetween(String value1, String value2) {
            addCriterion("khxx between", value1, value2, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxNotBetween(String value1, String value2) {
            addCriterion("khxx not between", value1, value2, "khxx");
            return (Criteria) this;
        }

        public Criteria andGuigeIsNull() {
            addCriterion("guige is null");
            return (Criteria) this;
        }

        public Criteria andGuigeIsNotNull() {
            addCriterion("guige is not null");
            return (Criteria) this;
        }

        public Criteria andGuigeEqualTo(String value) {
            addCriterion("guige =", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotEqualTo(String value) {
            addCriterion("guige <>", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeGreaterThan(String value) {
            addCriterion("guige >", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeGreaterThanOrEqualTo(String value) {
            addCriterion("guige >=", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLessThan(String value) {
            addCriterion("guige <", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLessThanOrEqualTo(String value) {
            addCriterion("guige <=", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLike(String value) {
            addCriterion("guige like", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotLike(String value) {
            addCriterion("guige not like", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeIn(List<String> values) {
            addCriterion("guige in", values, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotIn(List<String> values) {
            addCriterion("guige not in", values, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeBetween(String value1, String value2) {
            addCriterion("guige between", value1, value2, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotBetween(String value1, String value2) {
            addCriterion("guige not between", value1, value2, "guige");
            return (Criteria) this;
        }

        public Criteria andCaizhiIsNull() {
            addCriterion("caizhi is null");
            return (Criteria) this;
        }

        public Criteria andCaizhiIsNotNull() {
            addCriterion("caizhi is not null");
            return (Criteria) this;
        }

        public Criteria andCaizhiEqualTo(String value) {
            addCriterion("caizhi =", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiNotEqualTo(String value) {
            addCriterion("caizhi <>", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiGreaterThan(String value) {
            addCriterion("caizhi >", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiGreaterThanOrEqualTo(String value) {
            addCriterion("caizhi >=", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiLessThan(String value) {
            addCriterion("caizhi <", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiLessThanOrEqualTo(String value) {
            addCriterion("caizhi <=", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiLike(String value) {
            addCriterion("caizhi like", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiNotLike(String value) {
            addCriterion("caizhi not like", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiIn(List<String> values) {
            addCriterion("caizhi in", values, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiNotIn(List<String> values) {
            addCriterion("caizhi not in", values, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiBetween(String value1, String value2) {
            addCriterion("caizhi between", value1, value2, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiNotBetween(String value1, String value2) {
            addCriterion("caizhi not between", value1, value2, "caizhi");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andGzdhIsNull() {
            addCriterion("gzdh is null");
            return (Criteria) this;
        }

        public Criteria andGzdhIsNotNull() {
            addCriterion("gzdh is not null");
            return (Criteria) this;
        }

        public Criteria andGzdhEqualTo(String value) {
            addCriterion("gzdh =", value, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhNotEqualTo(String value) {
            addCriterion("gzdh <>", value, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhGreaterThan(String value) {
            addCriterion("gzdh >", value, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhGreaterThanOrEqualTo(String value) {
            addCriterion("gzdh >=", value, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhLessThan(String value) {
            addCriterion("gzdh <", value, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhLessThanOrEqualTo(String value) {
            addCriterion("gzdh <=", value, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhLike(String value) {
            addCriterion("gzdh like", value, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhNotLike(String value) {
            addCriterion("gzdh not like", value, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhIn(List<String> values) {
            addCriterion("gzdh in", values, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhNotIn(List<String> values) {
            addCriterion("gzdh not in", values, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhBetween(String value1, String value2) {
            addCriterion("gzdh between", value1, value2, "gzdh");
            return (Criteria) this;
        }

        public Criteria andGzdhNotBetween(String value1, String value2) {
            addCriterion("gzdh not between", value1, value2, "gzdh");
            return (Criteria) this;
        }

        public Criteria andDhrqIsNull() {
            addCriterion("dhrq is null");
            return (Criteria) this;
        }

        public Criteria andDhrqIsNotNull() {
            addCriterion("dhrq is not null");
            return (Criteria) this;
        }

        public Criteria andDhrqEqualTo(String value) {
            addCriterion("dhrq =", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqNotEqualTo(String value) {
            addCriterion("dhrq <>", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqGreaterThan(String value) {
            addCriterion("dhrq >", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqGreaterThanOrEqualTo(String value) {
            addCriterion("dhrq >=", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqLessThan(String value) {
            addCriterion("dhrq <", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqLessThanOrEqualTo(String value) {
            addCriterion("dhrq <=", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqLike(String value) {
            addCriterion("dhrq like", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqNotLike(String value) {
            addCriterion("dhrq not like", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqIn(List<String> values) {
            addCriterion("dhrq in", values, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqNotIn(List<String> values) {
            addCriterion("dhrq not in", values, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqBetween(String value1, String value2) {
            addCriterion("dhrq between", value1, value2, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqNotBetween(String value1, String value2) {
            addCriterion("dhrq not between", value1, value2, "dhrq");
            return (Criteria) this;
        }

        public Criteria andYougouIsNull() {
            addCriterion("yougou is null");
            return (Criteria) this;
        }

        public Criteria andYougouIsNotNull() {
            addCriterion("yougou is not null");
            return (Criteria) this;
        }

        public Criteria andYougouEqualTo(String value) {
            addCriterion("yougou =", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouNotEqualTo(String value) {
            addCriterion("yougou <>", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouGreaterThan(String value) {
            addCriterion("yougou >", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouGreaterThanOrEqualTo(String value) {
            addCriterion("yougou >=", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouLessThan(String value) {
            addCriterion("yougou <", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouLessThanOrEqualTo(String value) {
            addCriterion("yougou <=", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouLike(String value) {
            addCriterion("yougou like", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouNotLike(String value) {
            addCriterion("yougou not like", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouIn(List<String> values) {
            addCriterion("yougou in", values, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouNotIn(List<String> values) {
            addCriterion("yougou not in", values, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouBetween(String value1, String value2) {
            addCriterion("yougou between", value1, value2, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouNotBetween(String value1, String value2) {
            addCriterion("yougou not between", value1, value2, "yougou");
            return (Criteria) this;
        }

        public Criteria andWaijingIsNull() {
            addCriterion("waijing is null");
            return (Criteria) this;
        }

        public Criteria andWaijingIsNotNull() {
            addCriterion("waijing is not null");
            return (Criteria) this;
        }

        public Criteria andWaijingEqualTo(String value) {
            addCriterion("waijing =", value, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingNotEqualTo(String value) {
            addCriterion("waijing <>", value, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingGreaterThan(String value) {
            addCriterion("waijing >", value, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingGreaterThanOrEqualTo(String value) {
            addCriterion("waijing >=", value, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingLessThan(String value) {
            addCriterion("waijing <", value, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingLessThanOrEqualTo(String value) {
            addCriterion("waijing <=", value, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingLike(String value) {
            addCriterion("waijing like", value, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingNotLike(String value) {
            addCriterion("waijing not like", value, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingIn(List<String> values) {
            addCriterion("waijing in", values, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingNotIn(List<String> values) {
            addCriterion("waijing not in", values, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingBetween(String value1, String value2) {
            addCriterion("waijing between", value1, value2, "waijing");
            return (Criteria) this;
        }

        public Criteria andWaijingNotBetween(String value1, String value2) {
            addCriterion("waijing not between", value1, value2, "waijing");
            return (Criteria) this;
        }

        public Criteria andHeightIsNull() {
            addCriterion("height is null");
            return (Criteria) this;
        }

        public Criteria andHeightIsNotNull() {
            addCriterion("height is not null");
            return (Criteria) this;
        }

        public Criteria andHeightEqualTo(String value) {
            addCriterion("height =", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotEqualTo(String value) {
            addCriterion("height <>", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightGreaterThan(String value) {
            addCriterion("height >", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightGreaterThanOrEqualTo(String value) {
            addCriterion("height >=", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightLessThan(String value) {
            addCriterion("height <", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightLessThanOrEqualTo(String value) {
            addCriterion("height <=", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightLike(String value) {
            addCriterion("height like", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotLike(String value) {
            addCriterion("height not like", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightIn(List<String> values) {
            addCriterion("height in", values, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotIn(List<String> values) {
            addCriterion("height not in", values, "height");
            return (Criteria) this;
        }

        public Criteria andHeightBetween(String value1, String value2) {
            addCriterion("height between", value1, value2, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotBetween(String value1, String value2) {
            addCriterion("height not between", value1, value2, "height");
            return (Criteria) this;
        }

        public Criteria andKongjingIsNull() {
            addCriterion("kongjing is null");
            return (Criteria) this;
        }

        public Criteria andKongjingIsNotNull() {
            addCriterion("kongjing is not null");
            return (Criteria) this;
        }

        public Criteria andKongjingEqualTo(String value) {
            addCriterion("kongjing =", value, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingNotEqualTo(String value) {
            addCriterion("kongjing <>", value, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingGreaterThan(String value) {
            addCriterion("kongjing >", value, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingGreaterThanOrEqualTo(String value) {
            addCriterion("kongjing >=", value, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingLessThan(String value) {
            addCriterion("kongjing <", value, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingLessThanOrEqualTo(String value) {
            addCriterion("kongjing <=", value, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingLike(String value) {
            addCriterion("kongjing like", value, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingNotLike(String value) {
            addCriterion("kongjing not like", value, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingIn(List<String> values) {
            addCriterion("kongjing in", values, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingNotIn(List<String> values) {
            addCriterion("kongjing not in", values, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingBetween(String value1, String value2) {
            addCriterion("kongjing between", value1, value2, "kongjing");
            return (Criteria) this;
        }

        public Criteria andKongjingNotBetween(String value1, String value2) {
            addCriterion("kongjing not between", value1, value2, "kongjing");
            return (Criteria) this;
        }

        public Criteria andClrqIsNull() {
            addCriterion("clrq is null");
            return (Criteria) this;
        }

        public Criteria andClrqIsNotNull() {
            addCriterion("clrq is not null");
            return (Criteria) this;
        }

        public Criteria andClrqEqualTo(String value) {
            addCriterion("clrq =", value, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqNotEqualTo(String value) {
            addCriterion("clrq <>", value, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqGreaterThan(String value) {
            addCriterion("clrq >", value, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqGreaterThanOrEqualTo(String value) {
            addCriterion("clrq >=", value, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqLessThan(String value) {
            addCriterion("clrq <", value, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqLessThanOrEqualTo(String value) {
            addCriterion("clrq <=", value, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqLike(String value) {
            addCriterion("clrq like", value, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqNotLike(String value) {
            addCriterion("clrq not like", value, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqIn(List<String> values) {
            addCriterion("clrq in", values, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqNotIn(List<String> values) {
            addCriterion("clrq not in", values, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqBetween(String value1, String value2) {
            addCriterion("clrq between", value1, value2, "clrq");
            return (Criteria) this;
        }

        public Criteria andClrqNotBetween(String value1, String value2) {
            addCriterion("clrq not between", value1, value2, "clrq");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(String value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(String value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(String value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(String value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(String value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(String value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLike(String value) {
            addCriterion("weight like", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotLike(String value) {
            addCriterion("weight not like", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<String> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<String> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(String value1, String value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(String value1, String value2) {
            addCriterion("weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andLunumIsNull() {
            addCriterion("lunum is null");
            return (Criteria) this;
        }

        public Criteria andLunumIsNotNull() {
            addCriterion("lunum is not null");
            return (Criteria) this;
        }

        public Criteria andLunumEqualTo(String value) {
            addCriterion("lunum =", value, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumNotEqualTo(String value) {
            addCriterion("lunum <>", value, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumGreaterThan(String value) {
            addCriterion("lunum >", value, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumGreaterThanOrEqualTo(String value) {
            addCriterion("lunum >=", value, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumLessThan(String value) {
            addCriterion("lunum <", value, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumLessThanOrEqualTo(String value) {
            addCriterion("lunum <=", value, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumLike(String value) {
            addCriterion("lunum like", value, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumNotLike(String value) {
            addCriterion("lunum not like", value, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumIn(List<String> values) {
            addCriterion("lunum in", values, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumNotIn(List<String> values) {
            addCriterion("lunum not in", values, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumBetween(String value1, String value2) {
            addCriterion("lunum between", value1, value2, "lunum");
            return (Criteria) this;
        }

        public Criteria andLunumNotBetween(String value1, String value2) {
            addCriterion("lunum not between", value1, value2, "lunum");
            return (Criteria) this;
        }

        public Criteria andQwchrqIsNull() {
            addCriterion("qwchrq is null");
            return (Criteria) this;
        }

        public Criteria andQwchrqIsNotNull() {
            addCriterion("qwchrq is not null");
            return (Criteria) this;
        }

        public Criteria andQwchrqEqualTo(String value) {
            addCriterion("qwchrq =", value, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqNotEqualTo(String value) {
            addCriterion("qwchrq <>", value, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqGreaterThan(String value) {
            addCriterion("qwchrq >", value, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqGreaterThanOrEqualTo(String value) {
            addCriterion("qwchrq >=", value, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqLessThan(String value) {
            addCriterion("qwchrq <", value, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqLessThanOrEqualTo(String value) {
            addCriterion("qwchrq <=", value, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqLike(String value) {
            addCriterion("qwchrq like", value, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqNotLike(String value) {
            addCriterion("qwchrq not like", value, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqIn(List<String> values) {
            addCriterion("qwchrq in", values, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqNotIn(List<String> values) {
            addCriterion("qwchrq not in", values, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqBetween(String value1, String value2) {
            addCriterion("qwchrq between", value1, value2, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andQwchrqNotBetween(String value1, String value2) {
            addCriterion("qwchrq not between", value1, value2, "qwchrq");
            return (Criteria) this;
        }

        public Criteria andSjchriqIsNull() {
            addCriterion("sjchriq is null");
            return (Criteria) this;
        }

        public Criteria andSjchriqIsNotNull() {
            addCriterion("sjchriq is not null");
            return (Criteria) this;
        }

        public Criteria andSjchriqEqualTo(String value) {
            addCriterion("sjchriq =", value, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqNotEqualTo(String value) {
            addCriterion("sjchriq <>", value, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqGreaterThan(String value) {
            addCriterion("sjchriq >", value, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqGreaterThanOrEqualTo(String value) {
            addCriterion("sjchriq >=", value, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqLessThan(String value) {
            addCriterion("sjchriq <", value, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqLessThanOrEqualTo(String value) {
            addCriterion("sjchriq <=", value, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqLike(String value) {
            addCriterion("sjchriq like", value, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqNotLike(String value) {
            addCriterion("sjchriq not like", value, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqIn(List<String> values) {
            addCriterion("sjchriq in", values, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqNotIn(List<String> values) {
            addCriterion("sjchriq not in", values, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqBetween(String value1, String value2) {
            addCriterion("sjchriq between", value1, value2, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andSjchriqNotBetween(String value1, String value2) {
            addCriterion("sjchriq not between", value1, value2, "sjchriq");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(String value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(String value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(String value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(String value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLike(String value) {
            addCriterion("delete_flag like", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotLike(String value) {
            addCriterion("delete_flag not like", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<String> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<String> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(String value1, String value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(String value1, String value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andJingshourenIsNull() {
            addCriterion("jingshouren is null");
            return (Criteria) this;
        }

        public Criteria andJingshourenIsNotNull() {
            addCriterion("jingshouren is not null");
            return (Criteria) this;
        }

        public Criteria andJingshourenEqualTo(String value) {
            addCriterion("jingshouren =", value, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenNotEqualTo(String value) {
            addCriterion("jingshouren <>", value, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenGreaterThan(String value) {
            addCriterion("jingshouren >", value, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenGreaterThanOrEqualTo(String value) {
            addCriterion("jingshouren >=", value, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenLessThan(String value) {
            addCriterion("jingshouren <", value, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenLessThanOrEqualTo(String value) {
            addCriterion("jingshouren <=", value, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenLike(String value) {
            addCriterion("jingshouren like", value, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenNotLike(String value) {
            addCriterion("jingshouren not like", value, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenIn(List<String> values) {
            addCriterion("jingshouren in", values, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenNotIn(List<String> values) {
            addCriterion("jingshouren not in", values, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenBetween(String value1, String value2) {
            addCriterion("jingshouren between", value1, value2, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andJingshourenNotBetween(String value1, String value2) {
            addCriterion("jingshouren not between", value1, value2, "jingshouren");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuIsNull() {
            addCriterion("current_gongxu is null");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuIsNotNull() {
            addCriterion("current_gongxu is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuEqualTo(String value) {
            addCriterion("current_gongxu =", value, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuNotEqualTo(String value) {
            addCriterion("current_gongxu <>", value, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuGreaterThan(String value) {
            addCriterion("current_gongxu >", value, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuGreaterThanOrEqualTo(String value) {
            addCriterion("current_gongxu >=", value, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuLessThan(String value) {
            addCriterion("current_gongxu <", value, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuLessThanOrEqualTo(String value) {
            addCriterion("current_gongxu <=", value, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuLike(String value) {
            addCriterion("current_gongxu like", value, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuNotLike(String value) {
            addCriterion("current_gongxu not like", value, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuIn(List<String> values) {
            addCriterion("current_gongxu in", values, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuNotIn(List<String> values) {
            addCriterion("current_gongxu not in", values, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuBetween(String value1, String value2) {
            addCriterion("current_gongxu between", value1, value2, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andCurrentGongxuNotBetween(String value1, String value2) {
            addCriterion("current_gongxu not between", value1, value2, "currentGongxu");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andBeizhuIsNull() {
            addCriterion("beizhu is null");
            return (Criteria) this;
        }

        public Criteria andBeizhuIsNotNull() {
            addCriterion("beizhu is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhuEqualTo(String value) {
            addCriterion("beizhu =", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotEqualTo(String value) {
            addCriterion("beizhu <>", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuGreaterThan(String value) {
            addCriterion("beizhu >", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuGreaterThanOrEqualTo(String value) {
            addCriterion("beizhu >=", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLessThan(String value) {
            addCriterion("beizhu <", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLessThanOrEqualTo(String value) {
            addCriterion("beizhu <=", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLike(String value) {
            addCriterion("beizhu like", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotLike(String value) {
            addCriterion("beizhu not like", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuIn(List<String> values) {
            addCriterion("beizhu in", values, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotIn(List<String> values) {
            addCriterion("beizhu not in", values, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuBetween(String value1, String value2) {
            addCriterion("beizhu between", value1, value2, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotBetween(String value1, String value2) {
            addCriterion("beizhu not between", value1, value2, "beizhu");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNull() {
            addCriterion("tenant_id is null");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNotNull() {
            addCriterion("tenant_id is not null");
            return (Criteria) this;
        }

        public Criteria andTenantIdEqualTo(String value) {
            addCriterion("tenant_id =", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotEqualTo(String value) {
            addCriterion("tenant_id <>", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThan(String value) {
            addCriterion("tenant_id >", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_id >=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThan(String value) {
            addCriterion("tenant_id <", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThanOrEqualTo(String value) {
            addCriterion("tenant_id <=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLike(String value) {
            addCriterion("tenant_id like", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotLike(String value) {
            addCriterion("tenant_id not like", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdIn(List<String> values) {
            addCriterion("tenant_id in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotIn(List<String> values) {
            addCriterion("tenant_id not in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdBetween(String value1, String value2) {
            addCriterion("tenant_id between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotBetween(String value1, String value2) {
            addCriterion("tenant_id not between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andDanjiaIsNull() {
            addCriterion("danjia is null");
            return (Criteria) this;
        }

        public Criteria andDanjiaIsNotNull() {
            addCriterion("danjia is not null");
            return (Criteria) this;
        }

        public Criteria andDanjiaEqualTo(String value) {
            addCriterion("danjia =", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaNotEqualTo(String value) {
            addCriterion("danjia <>", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaGreaterThan(String value) {
            addCriterion("danjia >", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaGreaterThanOrEqualTo(String value) {
            addCriterion("danjia >=", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaLessThan(String value) {
            addCriterion("danjia <", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaLessThanOrEqualTo(String value) {
            addCriterion("danjia <=", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaLike(String value) {
            addCriterion("danjia like", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaNotLike(String value) {
            addCriterion("danjia not like", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaIn(List<String> values) {
            addCriterion("danjia in", values, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaNotIn(List<String> values) {
            addCriterion("danjia not in", values, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaBetween(String value1, String value2) {
            addCriterion("danjia between", value1, value2, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaNotBetween(String value1, String value2) {
            addCriterion("danjia not between", value1, value2, "danjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaIsNull() {
            addCriterion("zongjia is null");
            return (Criteria) this;
        }

        public Criteria andZongjiaIsNotNull() {
            addCriterion("zongjia is not null");
            return (Criteria) this;
        }

        public Criteria andZongjiaEqualTo(String value) {
            addCriterion("zongjia =", value, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaNotEqualTo(String value) {
            addCriterion("zongjia <>", value, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaGreaterThan(String value) {
            addCriterion("zongjia >", value, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaGreaterThanOrEqualTo(String value) {
            addCriterion("zongjia >=", value, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaLessThan(String value) {
            addCriterion("zongjia <", value, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaLessThanOrEqualTo(String value) {
            addCriterion("zongjia <=", value, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaLike(String value) {
            addCriterion("zongjia like", value, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaNotLike(String value) {
            addCriterion("zongjia not like", value, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaIn(List<String> values) {
            addCriterion("zongjia in", values, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaNotIn(List<String> values) {
            addCriterion("zongjia not in", values, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaBetween(String value1, String value2) {
            addCriterion("zongjia between", value1, value2, "zongjia");
            return (Criteria) this;
        }

        public Criteria andZongjiaNotBetween(String value1, String value2) {
            addCriterion("zongjia not between", value1, value2, "zongjia");
            return (Criteria) this;
        }

        public Criteria andChuhuorenIsNull() {
            addCriterion("chuhuoren is null");
            return (Criteria) this;
        }

        public Criteria andChuhuorenIsNotNull() {
            addCriterion("chuhuoren is not null");
            return (Criteria) this;
        }

        public Criteria andChuhuorenEqualTo(String value) {
            addCriterion("chuhuoren =", value, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenNotEqualTo(String value) {
            addCriterion("chuhuoren <>", value, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenGreaterThan(String value) {
            addCriterion("chuhuoren >", value, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenGreaterThanOrEqualTo(String value) {
            addCriterion("chuhuoren >=", value, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenLessThan(String value) {
            addCriterion("chuhuoren <", value, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenLessThanOrEqualTo(String value) {
            addCriterion("chuhuoren <=", value, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenLike(String value) {
            addCriterion("chuhuoren like", value, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenNotLike(String value) {
            addCriterion("chuhuoren not like", value, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenIn(List<String> values) {
            addCriterion("chuhuoren in", values, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenNotIn(List<String> values) {
            addCriterion("chuhuoren not in", values, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenBetween(String value1, String value2) {
            addCriterion("chuhuoren between", value1, value2, "chuhuoren");
            return (Criteria) this;
        }

        public Criteria andChuhuorenNotBetween(String value1, String value2) {
            addCriterion("chuhuoren not between", value1, value2, "chuhuoren");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}